/*
 * @Author: HeAo
 * @Date: 2021-10-22 16:52:40
 * @LastEditTime: 2021-10-22 16:56:29
 * @LastEditors: HeAo
 * @Description:
 * @FilePath: \ej-webui\src\store\modules\order.js
 * 别乱动！
 */
export default {
  namespaced: true,
  state () {
    return {
      resData: {}
    }
  },
  mutations: {
    SET_RESDATA (state, payload) {
      state.resData = payload
    }
  },
  actions: {
    async pageQueryOrders ({ commit }, params) {
      let res = request.get("/order/pageQuery", { params })
      commit('SET_RESDATA', res.data)
    },
  }
}
